<template>
  <ul>
    <li v-for="item in list" :key="item.list">
      <img :src="item.list" alt="" />
      <div class="ja">
        <span class="m1">￥119</span><span class="m2">￥158</span>
      </div>
    </li>
  </ul>
</template>

<script>
export default {
  data() {
    return {
      list: [
        " ../assets/img/niao.png",
        " ../assets/img/niao.png",
        " ../assets/img/niao.png",
        " ../assets/img/niao.png",
        " ../assets/img/niao.png",
        " ../assets/img/niao.png",
      ],
    };
  },
};
</script>

<style lang="less" scoped>
ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  height: 800px;
}
li {
  width: 150px;
  height: 250px;
  background-color: white;
  img {
    width: 150px;
    height: 200px;
  }
}
.ja {
  display: flex;
  flex-direction: column;
}
.m1 {
  width: 90px;
  color: red;
  height: 20px;
  font-size: 20px;
}
.m2 {
  width: 90px;
  height: 18px;
  font-size: 18px;
}
</style>
